import { request } from "../utils/request";

export function getMapAreaAPI(id) {
    return request({
        url: '/area/map',
        method: 'GET',
        params: {
            id
        }
    })
}

export function getHouseListAPI(cityId,rentType,price) {
    return request({
        url: '/houses',
        method: 'GET',
        params: {
            cityId,
            rentType,
            price
        }
    })
}